package com.app.base;

import org.apache.log4j.Logger;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;
import org.springframework.jdbc.core.simple.SimpleJdbcInsert;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * Created by nanxin.cnx on 2015/7/14.
 */
@Repository
public class BaseDao {
    private static Logger logger = Logger.getLogger(BaseDao.class);

    @Resource
    public JdbcTemplate jdbcTemplate;

    //    @Resource
//    public JdbcTemplate sqliteTemplate;
//    @Resource
//    public NamedParameterJdbcTemplate sqliteNamedParameterJdbcTemplate;
    @Resource
    public NamedParameterJdbcTemplate namedParameterJdbcTemplate;
    @Resource
    public SimpleJdbcInsert simpleJdbcInsert;

}
